home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / stbcon.z / stbcon
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSTTTTBBBBCCCCOOOONNNN((((3333SSSS))))                                                          SSSSTTTTBBBBCCCCOOOONNNN((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      STBCON - estimate the reciprocal of the condition number of a triangular
  10.      band matrix A, in either the 1-norm or the infinity-norm
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE STBCON( NORM, UPLO, DIAG, N, KD, AB, LDAB, RCOND, WORK, IWORK,
  14.                         INFO )
  15.  
  16.          CHARACTER      DIAG, NORM, UPLO
  17.  
  18.          INTEGER        INFO, KD, LDAB, N
  19.  
  20.          REAL           RCOND
  21.  
  22.          INTEGER        IWORK( * )
  23.  
  24.          REAL           AB( LDAB, * ), WORK( * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      STBCON estimates the reciprocal of the condition number of a triangular
  41.      band matrix A, in either the 1-norm or the infinity-norm. The norm of A
  42.      is computed and an estimate is obtained for norm(inv(A)), then the
  43.      reciprocal of the condition number is computed as
  44.         RCOND = 1 / ( norm(A) * norm(inv(A)) ).
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      NORM    (input) CHARACTER*1
  49.              Specifies whether the 1-norm condition number or the infinity-
  50.              norm condition number is required:
  51.              = '1' or 'O':  1-norm;
  52.              = 'I':         Infinity-norm.
  53.  
  54.      UPLO    (input) CHARACTER*1
  55.              = 'U':  A is upper triangular;
  56.              = 'L':  A is lower triangular.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSTTTTBBBBCCCCOOOONNNN((((3333SSSS))))                                                          SSSSTTTTBBBBCCCCOOOONNNN((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      DIAG    (input) CHARACTER*1
  75.              = 'N':  A is non-unit triangular;
  76.              = 'U':  A is unit triangular.
  77.  
  78.      N       (input) INTEGER
  79.              The order of the matrix A.  N >= 0.
  80.  
  81.      KD      (input) INTEGER
  82.              The number of superdiagonals or subdiagonals of the triangular
  83.              band matrix A.  KD >= 0.
  84.  
  85.      AB      (input) REAL array, dimension (LDAB,N)
  86.              The upper or lower triangular band matrix A, stored in the first
  87.              kd+1 rows of the array. The j-th column of A is stored in the j-
  88.              th column of the array AB as follows:  if UPLO = 'U', AB(kd+1+i-
  89.              j,j) = A(i,j) for max(1,j-kd)<=i<=j; if UPLO = 'L', AB(1+i-j,j)
  90.              = A(i,j) for j<=i<=min(n,j+kd).  If DIAG = 'U', the diagonal
  91.              elements of A are not referenced and are assumed to be 1.
  92.  
  93.      LDAB    (input) INTEGER
  94.              The leading dimension of the array AB.  LDAB >= KD+1.
  95.  
  96.      RCOND   (output) REAL
  97.              The reciprocal of the condition number of the matrix A, computed
  98.              as RCOND = 1/(norm(A) * norm(inv(A))).
  99.  
  100.      WORK    (workspace) REAL array, dimension (3*N)
  101.  
  102.      IWORK   (workspace) INTEGER array, dimension (N)
  103.  
  104.      INFO    (output) INTEGER
  105.              = 0:  successful exit
  106.              < 0:  if INFO = -i, the i-th argument had an illegal value
  107.  
  108. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  109.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  110.  
  111.      This man page is available only online.
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.